﻿@model FieldControlViewModel
<div class="layui-input-inline">
	<input type="text" class="layui-input" name="@Model.Prefix@Model.FieldName" id="@Model.Prefix@Model.FieldName" value="@Model.FieldValue" data-val="true" data-val-required="不能为空" data-val-ajax="验证码不对" data-val-ajax-url="/Common/CheckValidateCodeByModel" />
</div>
<div class="layui-input-inline layui-input-company">
	<img src="/Common/ValidateCodeByModel" title="看不清？点击更换" onclick="this.src = this.src + '?'" style="line-height: 35px;padding-left: 5px;font-size: 24px;vertical-align:middle;" />
	<span class="layui-bg-green">@Model.Description</span>
	<span style="color:red;" data-valmsg-for="@Model.Prefix@Model.FieldName" data-valmsg-replace="true"></span>
</div>